"use strict";

var Router = require('koa-router');
var config = require('../../../config/index.js');

console.log('router:' + config.baseUrl + '/v1/test');
var router = new Router({prefix: config.baseUrl + '/v1/test'});

router.get('**', function*() {
  console.log('hello %s %s', this.method, this.url);
  this.body = 'hello, its works abc xxx';
});

module.exports = router.routes();